package com.itheima.myvolatile;

/**
 * @Author 王加鑫
 * @Date 2021/5/23 11:47
 * @Version 1.0
 */
public class Boy extends Thread {

    @Override
    public void run() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        Money.money = 90000;
        System.out.println("取一万充游戏去了");
    }
}
